﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Home.Master" Inherits="System.Web.Mvc.ViewPage<List<kysec.RAL.EFToMySql.tb_news>>" %>
<%@ Register src="~/Views/News/ditu.ascx" tagname="leftpiece" tagprefix="uc1" %>
<%@ Register src="~/Views/News/ucleft.ascx" tagname="leftpiece" tagprefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	众承新闻-上海众承精密机床有限公司
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<div class="ad_show">
<div class="ad_picture"><%--<img src="<%=Url.Content(kysec.CR.MyUrl.WebData.WEBURL + "/Content/pre/images/p_02.gif") %>" width="980px" height="100" title="公司新闻" /><uc1:leftpiece  runat="server" ID="leftpiece2"/></div>
--%><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="mFlash5" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" 
width="980" height="150"> 
<param name="movie" value="<%=Url.Content(kysec.CR.MyUrl.WebData.WEBURL + "/Content/pre/flash/3.swf") %>" /> 
<param name="quality" value="high" /> 
<param name="wmode" value="transparent" /> 
<embed id="mFlash3_5" src="<%=Url.Content(kysec.CR.MyUrl.WebData.WEBURL + "/Content/pre/flash/3.swf") %>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" 
type="application/x-shockwave-flash" width="980" height="150"></embed> 
</object> </div></div>
  <div class="main">
    <div id="main_top">
		  <div id="main_top_left">
          <uc2:leftpiece runat="server" ID="leftpiece" />
		  </div>
		  <div id="main_right">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          <uc1:leftpiece  runat="server" ID="leftpiece1"/>
            <div id="news_content">
	            <%foreach (var item in Model)
               {%>
               <div class="news_content_title"><%=item.c_vc_title %></div>
               <div class="news_content_info"><span>类型：<%string classifyStr = item.c_i_classify == 0 ? "行业新闻" : "公司新闻";%><%=classifyStr %></span><span>发表日期：<%=item.c_dt_publishDate.ToShortDateString() %></span><span>来源：<%=item.c_nvc_from %></span></div>
                   <div class="news_nr"><%=item.c_ntx_content %></div>
              <% } %>	
            </div>
             <div class="clear"></div>
             <% try{
                    string type = Request.QueryString["type"]; %>
                     <div style=" border-top:solid 1px #fafafa; line-height:25px; text-align:center;"><a href="<%=kysec.CR.MyUrl.WebData.WEBURL %>/News/News?type=<%=type %>">【返回】</a></div>
                     <%}catch (Exception e) {e.ToString();  Response.Redirect("../Home/ErrorPage"); }%>

        </div>
    </div>
  </div>
</asp:Content>

